#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QPushButton>

#include "plot.h"

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();
    void paintEvent(QPaintEvent *);

private slots:
    void SimOneStep();
    void ChangeFlag();

private:
    QPushButton *stopBtn;
    bool flage=true;
    bool flag;

    PLOT plot;
};

#endif // MAINWINDOW_H
